package com.base.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "tb_rec_sub_categorys")
@ApiModel(value = "RecSubCategorys-楼层分类标签对象", description = "楼层分类标签类")
public class RecSubCategorys {

    /**
     * 唯一ID
     */
    @Id
    @Column(name = "sub_id")
    @ApiModelProperty(value = "楼层产品类目id", name = "subId", required = true, dataType = "Integer")
    private Integer subId;

    /**
     * 楼层ID
     */
    @Column(name = "floor_id")
    @ApiModelProperty(value = "楼层id", name = "floorid", required = true, dataType = "Integer")
    private Integer floorid;

    /**
     * 楼层分类标签名称
     */
    @Column(name = "sub_name")
    @ApiModelProperty(value = "楼层分类标签名称", name = "subName", required = true, dataType = "String")
    private String subName;

    /**
     * 楼层分类标签连接地址
     */
    @Column(name = "link")
    @ApiModelProperty(value = "楼层分类标签连接地址", name = "link", required = true, dataType = "String")
    private String link;

    /**
     * 创建日期
     */
    @Column(name = "created")
    @ApiModelProperty(value = "创建日期", name = "created", dataType = "Date")
    private Date created;

    /**
     * 更新日期
     */
    @Column(name = "updated")
    @ApiModelProperty(value = "更新日期", name = "updated", dataType = "Date")
    private Date updated;

}
